package com.hospital.diagnosis.module.mapper;

import com.hospital.common.pojo.TChatEvaluation;
import com.hospital.common.pojo.TChatSession;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ChatEvaluationMapper
{
    List<TChatSession> getChatSessionBySessionId(@Param("sessionId") String sessionId);

    Integer addChatEvaluation(TChatEvaluation tChatEvaluation);

    Integer updateChatSession(@Param("id") Long id,
                              @Param("chatEvaluationId") Long chatEvaluationId);
}
